{include file="header.html"}
<div> 
{include file='shop_vip/nav.html'}
{get data=typelist model=shop_vip fun=typelist()}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>标题</td>
   <td>店铺id</td>
   <td>状态</td>
   <td>类别</td>
   <td>开始时间</td>
   <td>到期时间</td>
   <td>收费时间</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.title}</td>
   <td>{$c.shopid}</td>
   <td>{if $c.status eq 1}开启{else}关闭{/if}</td>
   <td>{$typelist[$c.typeid]}</td>
   <td>{$c.starttime|date:Y-m-d H:i:s}</td>
   <td>{$c.endtime|date:Y-m-d H:i:s}</td>
   <td>{$c.intime|date:Y-m-d H:i:s}</td>
<td><a href="{$appadmin}?m=shop_vip&a=add&id={$c.id}">编辑</a> <a href="javascript:;" class="delete" url="{$appadmin}?m=shop_vip&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}